<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<title>Login</title>
</head>
<body>

	<c:if test="${param.error eq 'invalido'}">
		<c:out value="Usuário e/ou senha inválido(s)" />
	</c:if>
	<form name="f" action="<c:url value="/j_spring_security_check"/>"
		method="POST">
		<table>
			<tr>
				<td><c:out value="E-mail:" /></td>
				<td><input type='text' name='j_username' /></td>
			</tr>
			<tr>
				<td><c:out value="Password:" /></td>
				<td><input type='password' name='j_password'></td>
			</tr>
			<tr>
				<td colspan='2'><input name="submit" type="submit"></td>
			</tr>
			<tr>
				<td colspan='2'><input name="reset" type="reset"></td>
			</tr>
		</table>
	</form>
</body>